home *** CD-ROM | disk | FTP | other *** search
-
- {Crash n' Burn electronic magazine. Coded November, 1995.}
- uses dos, crt, fadeunit;
-
- type screentype = array [0..3999] of byte;
-
- Label
- 10, 20;
-
- var screen :screentype absolute $B800:0000;
- A, VGAtoVIEW :string;
- x, xend, xtop :byte;
- xread :byte;
- xselect, pakselect :byte;
- xline :array[1..150] of string;
- DF :TEXT;
- xch :CHAR;
- Regs :Registers;
- I :Integer;
- DelaySpeed :byte;
-
- {$I IFACEimg.INC}
- {$I CLOS_img.INC}
- {$I OPTNREAD.INC}
- Begin{Main Program Block}
- textbackground(0);
- clrscr;
- {begin
- loadfile('cnbansi');
- dispansinmem(true);
- end;}
- fadeout(1);
- iFACEimg{Interface ansi};
- fadein(20);
- {View the VGA for CNB = Currently disabled}
- {VGAtoVIEW := 'c:\ansi\acid\stc-acd3.gif';
- TheGif := New(PGif, Init(VGAtoVIEW));{ <<-- VGAtoVIEW := string }
- {TheGif^.Decode(True);
- readln(A);
- Dispose(TheGif, Done);
-
- {* cursor off *****************}
- I := 0; {*}
- Regs.AH := $01; {*}
- Regs.CH := $20+I; {*}
- Regs.CL := $20+I; {*}
- Intr($10, Regs); {*}
- {* cursor off *****************}
- xselect := 1;
- 10{redisplay the interface ansi}:
- IFACEimg{Interface ansi};
- OptnREAD{INCLUDE file for selecting interface options};
- if xselect = 0 then goto 20;
- goto 10;
- 20{exiting Crash n' Burn}:
- CLOS_img{Display the closing "Crash n Burn" font};
- gotoxy(1,25);
- textcolor(7);
- {******************************}
- I := 0;
- Regs.AH := $01;
- Regs.CH := $6+I; {*}
- Regs.CL := $7+I; {*}
- Intr($10, Regs);
- {******************************}
- end.
-